'use strict';
const Controller = require('egg').Controller;
class WK extends Controller {
    async index() {
        const  ctx  = this.ctx
        const data = await ctx.service.wakuang.hq(ctx)
        ctx.body = data
    }
    async delect(){
        const userId = this.ctx.params.id;
        const data = await this.ctx.service.wakuang.delete(userId)
        this.ctx.body = data
    }
}

module.exports = WK